<?php
function transform() 
{
  $xml = new DomDocument; // from /ext/dom
  $xml->load("../doc/database/rrhh.xml");
  $xsl = new DomDocument;
  $xsl->load("dbd2propel.xsl");
  $proc = new xsltprocessor;
  $proc->importStyleSheet($xsl); // attach the xsl rules
  $xmlstr = $proc->transformToXML($xml);
  echo $xmlstr;
}
transform();
?> 
